import { Request as request } from '@/utils/request'
import { PageParam } from '@/config/common'

/**
 * 分页查看系统日志
 * @param pageParams
 * @param data
 * @returns {*}
 */
export const getLogs = (pageParams: PageParam, data: any) => {
  return request({
    url: '/log/page-list',
    method: 'post',
    params: pageParams,
    data
  })
}
